package com.android.lovely.api.encrypt

import com.android.lovely.api.encrypt.AES_KEY
import com.android.lovely.api.encrypt.AesEncryptHelper

inline fun String.encryptAES(key: String = AES_KEY): String {
    return AesEncryptHelper.encode(key = key, content = this)
}

inline fun String.decryptAES(key: String = AES_KEY): String {
    return AesEncryptHelper.decode(key = key, content = this)
}